package com.yanqu.road.entity.activity.metaspace;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_meta_space_reward")
public class CrossMetaSpaceRewardNumData extends DataObject {
    @FieldTypeAnnotation(select = true,update = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(update = true,desc = "档位id")
    private int conditionId;
    @FieldTypeAnnotation(desc = "每日领奖人数")
    private int num;
    @FieldTypeAnnotation(desc = "上次重置时间")
    private long resetTime;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getConditionId() {
        return conditionId;
    }

    public void setConditionId(int conditionId) {
        this.conditionId = conditionId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
        setUpdateOption();
    }

    public long getResetTime() {
        return resetTime;
    }

    public void setResetTime(long resetTime) {
        this.resetTime = resetTime;
        setUpdateOption();
    }
}
